]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
st-bin: Remove unnecessary foreach implementation
authorJasper St. Pierre <jstpierre@mecheye.net>
Sun, 25 Mar 2012 12:46:44 +0000 (09:46 -0300)
committerJasper St. Pierre <jstpierre@mecheye.net>
Wed, 2 May 2012 14:20:22 +0000 (10:20 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=672807

src/st/st-bin.c

index aad501654deff018bed42795265259055fe5df33..71c7c3a5cf844eda127eac3979b200b3f05c3838 100644 (file)
@@ -85,23 +85,11 @@ st_bin_remove (ClutterContainer *container,
     st_bin_set_child (ST_BIN (container), NULL);
 }
 
-static void
-st_bin_foreach (ClutterContainer *container,
-                ClutterCallback   callback,
-                gpointer          user_data)
-{
-  StBinPrivate *priv = ST_BIN (container)->priv;
-
-  if (priv->child)
-    callback (priv->child, user_data);
-}
-
 static void
 clutter_container_iface_init (ClutterContainerIface *iface)
 {
   iface->add = st_bin_add;
   iface->remove = st_bin_remove;
-  iface->foreach = st_bin_foreach;
 }
 
 static void